//
//  XWXSqliteDataBaseTool.m
//  XWXSqlite
//
//  Created by 许卫星 on 17/9/4.
//  Copyright © 2017年 wxxu. All rights reserved.
//

#import "XWXSqliteDataBaseTool.h"
#import "XWXSqliteConfiguration.h"

@implementation XWXSqliteDataBaseTool

+ (NSString *)getDBNameWithDBName:(NSString *)dbName
{
    if (dbName.length == 0) {
        dbName = kCommonName;
    }else{
        dbName = [NSString stringWithFormat:@"%@.db",dbName];
    }
    return dbName;
}

+ (NSString *)getDBNameWithName:(NSString *)dbName
{
    if (dbName.length == 0) {
        dbName = kCommon;
    }
    return dbName;
}
@end
